import request from '@/utils/request'

/**
 * 获取阅读指导的文字和照片
 * @param {*} type 
 * @returns 
 */
export function readReport(type) {
  return request({
    url: '/report/report/getReadPortList/' + type,
    method: 'GET',
  })
}

export function getWebSite() {
  return request({
    url: '/performancecomparisons/performancecomparisons/list',
    method: 'get',
  })
}


/**
 * 富文本数据 : 获取全部阅读指导
 */
export function getAllReadReport() {
  return request({
    url: '/report/report',
    method: 'GET',
  })
}


/**
 * 修改信息
 */

export function updateReadReport(data) {
  return request({
    url: '/report/report',
    method: 'put',
    data
  })
}

export function getReadReportById(id) {
  return request({
    url: '/report/report/' + id,
    method: 'get',
  })
}
